function selectRights(id) {
    var url = "enterpriseinfo.x?op=select&e.id=" + id;
    var retVal = window.showModalDialog(url, null, "dialogwidth:800px;dialogheight:700px");
    _obj("id_op").value = "edit";
    if (retVal !== undefined && retVal !== '')
        _obj("editFrm").submit();
}